package utils

import (
	"encoding/json"
	"fmt"
)

func PrintLog(prefix string, data any) string {
	jsonStr, _ := json.Marshal(data)
	return fmt.Sprintf("%s, data: %s", prefix, string(jsonStr))
}
